home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / emul / cp4 / localize / makecatalog next >
AmigaDOS Script File  |  1999-01-01  |  3KB  |  38 lines

  1. .KEY LANGUAGE/A
  2. .BRA {
  3. .KET }
  4.  
  5. if {LANGUAGE} eq "english"
  6.  echo English is the builtin language
  7. else
  8. if exists Translations/{LANGUAGE}
  9.  if not exists New_Catalog/{LANGUAGE}
  10.   MakeDir New_Catalog/{LANGUAGE}
  11.   Util/SetCT CT2 {LANGUAGE} Translations/{LANGUAGE}
  12.   CatComp DESCRIPTOR=Description/cp4.cd TRANSLATION=Translations/{LANGUAGE}/cp4.ct CATALOG=New_Catalog/{LANGUAGE}/cp4.catalog
  13.   CatComp DESCRIPTOR=Description/cp4_card.cd TRANSLATION=Translations/{LANGUAGE}/cp4_card.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_card.catalog
  14.   CatComp DESCRIPTOR=Description/cp4_cardgreyscale.cd TRANSLATION=Translations/{LANGUAGE}/cp4_cardgreyscale.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_cardgreyscale.catalog
  15.   CatComp DESCRIPTOR=Description/cp4_greyscale.cd TRANSLATION=Translations/{LANGUAGE}/cp4_greyscale.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_greyscale.catalog
  16.   CatComp DESCRIPTOR=Description/cp4_greyscale16.cd TRANSLATION=Translations/{LANGUAGE}/cp4_greyscale16.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_greyscale16.catalog
  17.   CatComp DESCRIPTOR=Description/cp4_greyscale2.cd TRANSLATION=Translations/{LANGUAGE}/cp4_greyscale2.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_greyscale2.catalog
  18.   CatComp DESCRIPTOR=Description/cp4_mono.cd TRANSLATION=Translations/{LANGUAGE}/cp4_mono.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_mono.catalog
  19.   CatComp DESCRIPTOR=Description/cp4_ocs.cd TRANSLATION=Translations/{LANGUAGE}/cp4_ocs.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_ocs.catalog
  20.   CatComp DESCRIPTOR=Description/cp4_perdevpernull.cd TRANSLATION=Translations/{LANGUAGE}/cp4_perdevpernull.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_perdevpernull.catalog
  21.   CatComp DESCRIPTOR=Description/cp4_windowamiga.cd TRANSLATION=Translations/{LANGUAGE}/cp4_windowamiga.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_windowamiga.catalog
  22.   CatComp DESCRIPTOR=Description/cp4_windowcard.cd TRANSLATION=Translations/{LANGUAGE}/cp4_windowcard.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_windowcard.catalog
  23.   CatComp DESCRIPTOR=Description/cp4_windowmono.cd TRANSLATION=Translations/{LANGUAGE}/cp4_windowmono.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_windowmono.catalog
  24.   CatComp DESCRIPTOR=Description/cp4_windowscale.cd TRANSLATION=Translations/{LANGUAGE}/cp4_windowscale.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_windowscale.catalog
  25.   CatComp DESCRIPTOR=Description/cp4_zavacki.cd TRANSLATION=Translations/{LANGUAGE}/cp4_zavacki.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_zavacki.catalog
  26.   CatComp DESCRIPTOR=Description/cp4_zavacki2.cd TRANSLATION=Translations/{LANGUAGE}/cp4_zavacki2.ct CATALOG=New_Catalog/{LANGUAGE}/cp4_zavacki2.catalog
  27.   CatComp DESCRIPTOR=Description/MakeROM.cd TRANSLATION=Translations/{LANGUAGE}/MakeROM.ct CATALOG=New_Catalog/{LANGUAGE}/MakeROM.catalog
  28.   echo You found the new catalog files in the New_Catalog/{LANGUAGE} directory.
  29.  else
  30.   echo There's an existing catalog drawer, the
  31.   echo New_Catalog/{LANGUAGE}, delete it and try again.
  32.  endif
  33. else
  34.  echo Translate all texts, and copy the ct-s into
  35.  echo the Translation/{LANGUAGE} drawer, and try again.
  36. endif
  37. endif
  38.